package com.graduationproject.examonline.master.mapper;

import com.graduationproject.examonline.master.entity.Master;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

// 使用注解Mapper实例化接口
@Mapper
@Repository
public interface MasterMapper {
    public List<Master> findMasterByIdAndPassword(Map<String, Object> map);
    public int updateMasterById(Map<String, Object> map);
    public List<Master> getUserInfoById(String master_id);
}
